package com.governtalk.backend.controller;

import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/api/health")
public class HealthController {
    
    @GetMapping("/check")
    public String healthCheck() {
        return "Backend is running!";
    }
    
    @PostMapping("/test")
    public String testPost(@RequestBody String body) {
        return "POST test successful! Body: " + body;
    }
}
